package com.gzxx.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * SysDeptVo
 *
 * @author chenjing
 * @date 2020-09-22 17:43:19
 */

@Data
@ApiModel(value = "部门返回数据传输实体", description = "部门返回数据传输实体")
public class SysDeptVo implements Serializable {

    private static final long serialVersionUID = 2483934855299099604L;

    @ApiModelProperty(value = "id", example = "12")
    private Long id;

    @ApiModelProperty(value = "部门名称", example = "开发部")
    private String name;

    @ApiModelProperty(value = "部门等级", example = "10")
    private Integer level;

    @ApiModelProperty(value = "上级部门ID", example = "11")
    private Long parentId;

    @ApiModelProperty(value = "上级部门名称", example = "大部门")
    private String parentName;

    @ApiModelProperty(value = "部门状态(0启用 1禁用)", example = "0")
    private Integer status;

    @ApiModelProperty(value = "创建时间", example = "2020-9-22 18:01:26")
    private String createTime;

    @ApiModelProperty(value = "下级部门", example = "测试部")
    private List<SysDeptVo> nodeDept;

}
